-- GENERATED SPELL FOR [Darkfang Creeper] --


function spell0_4412(pUnit, Event) --@Slowing Poison,n/a--
pUnit:FullCastSpellOnTarget(7992,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4412', 26000, 1)
end

function Sorts_4412(pUnit, Event)
local choix_sorts_4412 = math.random(0, 0)
if choix_sorts_4412 == 0 then
pUnit:RegisterEvent('spell0_4412', 1, 1)
end
end

function mob4412_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4412', math.random(1500, 3000), 1)
end

function mob4412_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4412_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4412_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4412, 1, 'mob4412_Action')
RegisterUnitEvent(4412, 2, 'mob4412_Leave')
RegisterUnitEvent(4412, 3, 'mob4412_Kill')
RegisterUnitEvent(4412, 4, 'mob4412_Die')
